home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / cataging / sprtbse1 / install.dat < prev    next >
Encoding:
INSTALL Professional project  |  1993-03-01  |  3.7 KB  |  158 lines

  1. @DefineProject
  2.         @Name="Sportcheck Baseball Edition"
  3.         @Version="1993"
  4.         @Subdir="\\SPORTC\\"
  5.         @OutDrive       = C
  6. @EndProject
  7.  
  8. @Display
  9.         @Cls
  10.  
  11.         This program will install the @Version @Name
  12.         on your computer and verify the integrity of the distribution
  13.         disk(s).  You may press the [Esc] key at any time to abort the
  14.         installation.  INSTALL will ask you several questions about your
  15.         computer hardware and then copy @Name to the
  16.         appropriate disk drive.
  17.  
  18.         Each question has a default answer.  If the default answer is
  19.         correct, press the ENTER key in response to the question.
  20.         Otherwise, type the answer and then press the ENTER key.
  21.  
  22.         If you make a mistake while typing, press the BACKSPACE key
  23.         and then retype the answer.
  24.  
  25. @Pause
  26. @EndDisplay
  27.  
  28. @GetOutDrive
  29.         @Cls
  30.  
  31.     On which disk drive do you wish to install @Name?
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45. @EndOutDrive
  46.  
  47. @If(@DiskSize @OutDrive > 1700K)
  48.  
  49.     @Display
  50.             @Cls
  51.  
  52.  
  53.             @IF(@DiskFree @OutDrive < 1700K)
  54.                 The selected output disk drive only has
  55.                 @DiskFree @OutDrive bytes available.  This program
  56.                 requires approximately 1700000 bytes
  57.                 available to install.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                 @Pause
  64.                 @Abort
  65.             @EndIf
  66.  
  67.     @EndDisplay
  68.  
  69.  
  70.     @GetSubdir
  71.             @Cls
  72.             Now you need to specify the disk destination subdirectory.  The
  73.             subdirectory is the location on your disk where the program
  74.             will be installed.  If the subdirectory that you specify does
  75.             not currently exist, it will be created for you.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.             @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
  85.     @EndSubdir
  86.  
  87.     @If (@Exists "@OutDrive:\\@Subdir\\BBCARDS.DBF")
  88.       @Display
  89.  
  90.       ***  WARNING  ***
  91.  
  92.       A previous version of Sportcheck Baseball Edition appears to be
  93.       already installed in the specified disk subdirectory.  Continuing
  94.       with this installation will overwrite the existing version and
  95.       any card data which had been previously entered will be lost.
  96.  
  97.       If you do not wish to continue with this installation and overwrite
  98.       the existing version of the Sportcheck program press ESCAPE at this
  99.       time.  Otherwise, press any other key to continue.
  100.  
  101.         @Pause
  102.       @EndDisplay
  103.     @EndIf
  104.  
  105.     @DefineDisk
  106.         @Label = "Installation Disk 1"
  107.             @File   MANUAL.DOC
  108.             @BeginLib BBFILES1.LIB
  109.                     @File    SPORTC.EXE
  110.                     @File    SPORTCB.EXE
  111.                     @File    SPORTC.CFG
  112.                     @File    SPORTCB.TOT
  113.                     @File    ORDER.DOC
  114.             @EndLib
  115.     @EndDisk
  116.  
  117.     @DefineDisk
  118.         @Label = "Installation Disk 2"
  119.             @BeginLib BBFILES2.LIB
  120.                     @File    BBCARDS.DBF
  121.                     @File    BBCARDC.DBF
  122.                     @File    BBVAL1.DBF
  123.                     @File    BBVAL2.DBF
  124.                     @File    BBVAL3.DBF
  125.                     @File    BBVALC.DBF
  126.                     @File    BBPLAYER.DBF
  127.                     @File    BBSETS.DBF
  128.             @EndLib
  129.     @EndDisk
  130.  
  131. @Else
  132.     @Display
  133.         @Cls
  134.  
  135.         There is not enough free disk space available on drive @OutDrive:
  136.         to install the @Version @Name.  The selected
  137.         output disk drive has @DiskFree @OutDrive bytes available.  This program
  138.         requires approximately 1700000 bytes available to install.
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.     @Pause
  149.     @EndDisplay
  150.     @Abort
  151. @EndIf
  152.  
  153.  
  154. @Finish
  155.         @Cls
  156.         @ChDrive @OutDrive
  157.         @ChDir "@Subdir"
  158. @EndFinish